package cn.app.android.sichuanxiaoke.com.xiaokeapp.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.EditText;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import cn.app.android.sichuanxiaoke.com.xiaokeapp.R;

public class RechargeToBancardActivity extends AppCompatActivity {
    @BindView(R.id.tb)
    Toolbar tb;
    @BindView(R.id.UserName)
    EditText mUserName;
    @BindView(R.id.bankcardId)
    EditText mbankcardId;
    @BindView(R.id.bankName)
    EditText mbankName;
    @BindView(R.id.moneyNumber)
    EditText mmoneyNumber;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_recharge_to_bancard);
        ButterKnife.bind(this);
        initUI();
    }

    private void initUI() {
        tb.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }

    @OnClick(R.id.nextButton)
    public  void OnClick(View view) {
        String uname = mUserName.getText().toString();
        String cardid = mbankcardId.getText().toString();
        String bname = mbankName.getText().toString();
        String mnumber = mmoneyNumber.getText().toString();
    }
}
